<html>
	<head>
		<title>Teste DOC</title>
	</head>
	<body>
		<p id="teste">Oi mundo</p>
		<script type="text/javascript">
			x = document.getElementById("teste");
			alert(x.innerHTML);
			x.innerHTML = "texto alterado";
		</script>
	</body>
</html>